package com.su.edu.domain.ability;

import com.su.edu.domain.model.UserDo;

/**
 * @author wangjun
 * @since 2024/6/5 14:09
 */
public interface UserAbility {

    /**
     * 验证
     * @param userDo
     */
    void checkBeforeSave(UserDo userDo);

    /**
     * 更新验证
     * @param userDo
     */
    void checkBeforeUpdate(UserDo userDo);
}
